package com.huanong.pojo;

import java.util.Date;

/**
 * 新闻表映射
 */
public class NewWork {

    //新闻id
    private Integer NkId;

    //新闻标题
    private String NkTitle;

    //新闻发布时间
    private Date NkTime;

    //新闻详细信息
    private String NkMesage;

    public Integer getNkId() {
        return NkId;
    }

    public void setNkId(Integer nkId) {
        NkId = nkId;
    }

    public String getNkTitle() {
        return NkTitle;
    }

    public void setNkTitle(String nkTitle) {
        NkTitle = nkTitle;
    }

    public Date getNkTime() {
        return NkTime;
    }

    public void setNkTime(Date nkTime) {
        NkTime = nkTime;
    }

    public String getNkMessage() {
        return NkMesage;
    }

    public void setNkMessage(String nkMessage) {
        NkMesage = nkMessage;
    }

    @Override
    public String toString() {
        return "NewWork{" +
                "NkId=" + NkId +
                ", NkTitle='" + NkTitle + '\'' +
                ", NkTime=" + NkTime +
                ", NkMessage='" + NkMesage + '\'' +
                '}';
    }
}
